package com.baiyang.app.ui.mine.spendRecord;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

import com.alibaba.fastjson.JSONObject;

public class RecordSpendViewModel extends ViewModel {

    private MutableLiveData<JSONObject> bills;

    public RecordSpendViewModel(){
        bills = new MutableLiveData<>();
    }

    public void setBills(JSONObject result){
        this.bills.postValue(result);
    }

    public LiveData<JSONObject> getBills(){
        return bills;
    }

}
